﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BLL;

namespace QuanLyDatDai
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
        }
                

        private void danTocToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmDanToc dantoc = new FrmDanToc();
            dantoc.Visible = true;
            dantoc.MdiParent = this;
        }

        private void tinhTpToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmTinh_TP tinh = new FrmTinh_TP();
            tinh.Visible = true;
            tinh.MdiParent = this;
        }

        private void QuanHuyenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmQuanHuyen quan = new FrmQuanHuyen();
            quan.Visible = true;
            quan.MdiParent = this;
        }

        private void XaPhuongToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmXaPhuong xa = new FrmXaPhuong();
            xa.Visible = true;
            xa.MdiParent = this;
        }

        private void loaiDatToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmLoaiDat loaidat = new FrmLoaiDat();
            loaidat.Visible = true;
            loaidat.MdiParent = this;
        }

        private void đaGiácToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmDaGiac dagiac = new FrmDaGiac();
            dagiac.MdiParent = this;            
            dagiac.Visible = true;
        }

        private void giấyChứngNhậnToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmGiayChungNhan giaychungnhan = new FrmGiayChungNhan();
            giaychungnhan.Visible = true;
        }

        private void gopThuaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmGopThua gopthua = new FrmGopThua();
            gopthua.Visible = true;
        }
    }
}
